<template>
	<view class="margin-top bg-white">
		<u-card margin="0" :body-style="{padding: 0}" :border="false">
			<view slot="head">
				<text class="cuIcon-titles text-orange"></text>
				日志查看
			</view>
			<view slot="body">
				<u-grid :col="3">
					<u-grid-item @click="navTo('accesslog-list')">
						<image src="/static/images/accesslogm.png" mode="aspectFill"></image>
						<view class="grid-text">访问日志</view>
					</u-grid-item>
					<u-grid-item @click="navTo('actionlog-list')">
						<image src="/static/images/actionlogm.png" mode="aspectFill"></image>
						<view class="grid-text">行为日志</view>
					</u-grid-item>
					<u-grid-item @click="navTo('errorlog-list')">
						<image src="/static/images/errorlogm.png" mode="aspectFill"></image>
						<view class="grid-text">错误日志</view>
					</u-grid-item>
				</u-grid>
			</view>
		</u-card>
	</view>
</template>

<script>
export default {
	onLoad: function(option) {
		//
	},
	onShow: function() {},
	onReady: function() {},
	onReachBottom: function() {},
	data() {
		return {
			//
		};
	},
	methods: {
		navTo: function(url) {
			uni.navigateTo({
				url: url
			});
		}
	}
}
</script>

<style lang="scss" scoped>
	.u-grid-item {
		image {
			width: 60rpx;
			height: 60rpx;
		}
	}
</style>
